package ru.cannabis.notification;

import ru.cannabis.command.response.base.JSONResponse;

public class JSONErrorResponse extends JSONResponse
{
	private int code;
	private String message;

	public JSONErrorResponse(int code, String message)
    {
		super("error");
		this.code = code;
		this.message = message;
	}

	public int getCode()
    {
		return code;
	}

	public String getMessage()
    {
		return message;
	}
}
